package com.yunc.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunc.base.utils.R;
import com.yunc.modules.sys.entity.SysRole;

/**
 * 系统角色
 *
 * @author congcong tao
 * @date 2018/5/14 16:15
 */
public interface ISysRoleService extends IService<SysRole> {

    R deleteRole(String roleId);

    R saveRole(SysRole role);

    R updateRole(SysRole role);

    int getDataScopeAll(String userId);
}
